<?php
/**
 * Created by PhpStorm.
 * @description:
 * @time:
 * @Author: yfl
 * @QQ 554665488
 * Date: 2018-6-6
 * Time: 22:11
 */

//var_dump($_SERVER);
spl_autoload_register('autoload');
spl_autoload_register('autoload2');
function autoload($class)
{
    require_once  __DIR__ . '/' .$class .'.php';
}
function autoload2($class)
{
    require_once  __DIR__ . '/' .$class .'.php';
}
class1::fun1();
class2::fun2();
